package com.example.haojiutao.service.impl;

import com.example.haojiutao.mapper.MessagelistMapper;
import com.example.haojiutao.model.domain.Messagelist;
import com.example.haojiutao.service.MessageService;
import com.example.haojiutao.service.MessagelistServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description:
 * @Author: wang_meiying
 * @CreateTime: 2024/1/28 19:25
 */
@Service
public class MessagelistImpl implements MessagelistServer {

    @Autowired
    private MessagelistMapper messagelistMapper;

    @Override
    public List<Messagelist> getRecommendMessagelist(Messagelist messagelist) {
        return messagelistMapper.selectRecommendMesssagelist(messagelist);
    }
}
